home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
Fresco
/
build
/
Unix
/
Imakefile
next >
Wrap
Makefile
|
1995-07-12
|
1KB
|
58 lines
#define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"
RELEASE = "Fresco"
#ifndef OSName
#define OSName Unknown Operating System!
#endif
SUBDIRS = config lib bin examples
WORLDOPTS =
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
VerifyOS::
@echo ""
@echo Building on OSName.
@echo ""
XCOMM do not name your log file make.log when you run this ...
World::
@echo ""
@echo Building $(RELEASE).
@echo ""
@date
@echo ""
cd $(IMAKESRC); $(MAKE) -f Makefile.ini $(MFLAGS) clean; $(MAKE) -f Makefile.ini $(MFLAGS) BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"
-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
$(MAKE) -f Makefile.bak $(MFLAGS) Makefile
$(MAKE) $(MFLAGS) VerifyOS
$(MAKE) $(MFLAGS) Makefiles
$(MAKE) $(MFLAGS) clean
$(MAKE) $(MFLAGS) depend
$(MAKE) $(MFLAGS) $(WORLDOPTS)
@echo ""
@date
@echo ""
@echo Full build of $(RELEASE) complete.
@echo ""
Everything::
@echo ""
@echo Rebuilding $(RELEASE).
@echo ""
@date
@echo ""
cd $(IMAKESRC); $(MAKE) -f Makefile.ini $(MFLAGS) BOOTSTRAPCFLAGS="$(BOOTSTRAPCFLAGS)"
-$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
$(MAKE) -f Makefile.bak $(MFLAGS) Makefile
$(MAKE) $(MFLAGS) Makefiles
$(MAKE) $(MFLAGS) depend
$(MAKE) $(MFLAGS) $(WORLDOPTS)
@echo ""
@date
@echo ""
@echo Rebuild of $(RELEASE) complete.
@echo ""